package com.gusti.admincasa.dto;

/**
 * 
 * @author gusti
 *
 */
public class UserDto {

	private String userName;
	private String status;
	private String computerName;
	private String startDate;

	/**
	 * 
	 * @param userName
	 * @param status
	 * @param computerName
	 * @param startDate
	 */
	public UserDto( String userName, String status, String computerName, String startDate ) {
		super();
		this.userName = userName;
		this.status = status;
		this.computerName = computerName;
		this.startDate = startDate;
	}

	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getComputerName() {
		return computerName.replaceAll( "-", "." );
	}
	public void setComputerName(String computerName) {
		this.computerName = computerName.replaceAll( "\\.", "-" );
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
}
